6b3023c2aa76386a0d3b437d593bfd65697dc169,spring-webmvc/src/main/java/org/springframework/web/servlet/HandlerExecutionChain.java,HandlerExecutionChain,addInterceptors,#HandlerInterceptor[]#,92
Before Change
public void addInterceptors(HandlerInterceptor[] interceptors) {
if (interceptors != null) {
initInterceptorList();
this.interceptorList.addAll(Arrays.asList(interceptors));
}
}
After Change
public void addInterceptors(HandlerInterceptor... interceptors) {
if (!ObjectUtils.isEmpty(interceptors)) {
initInterceptorList().addAll(Arrays.asList(interceptors));
}
}